let config={
	domain:'',
	version:'',
	source:'',
	sign:'test',
	download_url:''
}

//设置开放环境
if(process.env.NODE_ENV === 'development'){
    // 开发环境
    config.domain = 'http://bgcs.enshitc.com/'
}else{
    // 生产环境
    config.domain = 'http://bgcs.enshitc.com/'
}

// #ifdef APP-PLUS 
config.version=plus.runtime.version;
// #endif
if(config.version == ''){
	config.version='1.0.4'
}

//获取客户端手机版本信息
 switch(uni.getSystemInfoSync().platform){
    case 'android':
       config.source='android'
       break;
    case 'ios':
       config.source='ios'
       break;
    default:
       config.source='android'
       break;
}

export default config